package com.monkey.generator.dao;

import com.monkey.generator.model.TUserBonus;
import com.monkey.generator.model.TUserBonusExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TUserBonusMapper {
    long countByExample(TUserBonusExample example);

    int deleteByExample(TUserBonusExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TUserBonus record);

    int insertSelective(TUserBonus record);

    List<TUserBonus> selectByExample(TUserBonusExample example);

    TUserBonus selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TUserBonus record, @Param("example") TUserBonusExample example);

    int updateByExample(@Param("record") TUserBonus record, @Param("example") TUserBonusExample example);

    int updateByPrimaryKeySelective(TUserBonus record);

    int updateByPrimaryKey(TUserBonus record);
}